package com.itheima.factory;

import com.itheima.domain.User;

public class UserFactory {
/**
 * 利用工厂的方式创建bean对象
 * */
    public static User getUser(){

        return new User();
    }
    public User getUser1(){
        return new User();
    }
}
